Optimal. Leaf size=149 \[ \frac{5}{64} (2 x+5) \left (2 x^2-x+3\right )^{3/2}-\frac{3667 \left (2 x^2-x+3\right )^{3/2}}{576 (2 x+5)}-\frac{541}{384} \left (2 x^2-x+3\right )^{3/2}-\frac{(1996953-333380 x) \sqrt{2 x^2-x+3}}{18432}+\frac{239201 \tanh ^{-1}\left (\frac{17-22 x}{12 \sqrt{2} \sqrt{2 x^2-x+3}}\right )}{384 \sqrt{2}}-\frac{2551847 \sinh ^{-1}\left (\frac{1-4 x}{\sqrt{23}}\right )}{4096 \sqrt{2}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.236645, antiderivative size = 149, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 8, integrand size = 40, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {1650, 1653, 814, 843, 619, 215, 724, 206} \[ \frac{5}{64} (2 x+5) \left (2 x^2-x+3\right )^{3/2}-\frac{3667 \left (2 x^2-x+3\right )^{3/2}}{576 (2 x+5)}-\frac{541}{384} \left (2 x^2-x+3\right )^{3/2}-\frac{(1996953-333380 x) \sqrt{2 x^2-x+3}}{18432}+\frac{239201 \tanh ^{-1}\left (\frac{17-22 x}{12 \sqrt{2} \sqrt{2 x^2-x+3}}\right )}{384 \sqrt{2}}-\frac{2551847 \sinh ^{-1}\left (\frac{1-4 x}{\sqrt{23}}\right )}{4096 \sqrt{2}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1650
Rule 1653
Rule 814
Rule 843
Rule 619
Rule 215
Rule 724
Rule 206
Rubi steps
\begin{align*} \int \frac{\sqrt{3-x+2 x^2} \left (2+x+3 x^2-x^3+5 x^4\right )}{(5+2 x)^2} \, dx &=-\frac{3667 \left (3-x+2 x^2\right )^{3/2}}{576 (5+2 x)}-\frac{1}{72} \int \frac{\sqrt{3-x+2 x^2} \left (\frac{19341}{16}-\frac{6313 x}{2}+486 x^2-180 x^3\right )}{5+2 x} \, dx\\ &=-\frac{3667 \left (3-x+2 x^2\right )^{3/2}}{576 (5+2 x)}+\frac{5}{64} (5+2 x) \left (3-x+2 x^2\right )^{3/2}-\frac{\int \frac{\sqrt{3-x+2 x^2} \left (74664-158096 x+77904 x^2\right )}{5+2 x} \, dx}{4608}\\ &=-\frac{541}{384} \left (3-x+2 x^2\right )^{3/2}-\frac{3667 \left (3-x+2 x^2\right )^{3/2}}{576 (5+2 x)}+\frac{5}{64} (5+2 x) \left (3-x+2 x^2\right )^{3/2}-\frac{\int \frac{(2960496-8001120 x) \sqrt{3-x+2 x^2}}{5+2 x} \, dx}{110592}\\ &=-\frac{(1996953-333380 x) \sqrt{3-x+2 x^2}}{18432}-\frac{541}{384} \left (3-x+2 x^2\right )^{3/2}-\frac{3667 \left (3-x+2 x^2\right )^{3/2}}{576 (5+2 x)}+\frac{5}{64} (5+2 x) \left (3-x+2 x^2\right )^{3/2}+\frac{\int \frac{-2202879456+4409591616 x}{(5+2 x) \sqrt{3-x+2 x^2}} \, dx}{3538944}\\ &=-\frac{(1996953-333380 x) \sqrt{3-x+2 x^2}}{18432}-\frac{541}{384} \left (3-x+2 x^2\right )^{3/2}-\frac{3667 \left (3-x+2 x^2\right )^{3/2}}{576 (5+2 x)}+\frac{5}{64} (5+2 x) \left (3-x+2 x^2\right )^{3/2}+\frac{2551847 \int \frac{1}{\sqrt{3-x+2 x^2}} \, dx}{4096}-\frac{239201}{64} \int \frac{1}{(5+2 x) \sqrt{3-x+2 x^2}} \, dx\\ &=-\frac{(1996953-333380 x) \sqrt{3-x+2 x^2}}{18432}-\frac{541}{384} \left (3-x+2 x^2\right )^{3/2}-\frac{3667 \left (3-x+2 x^2\right )^{3/2}}{576 (5+2 x)}+\frac{5}{64} (5+2 x) \left (3-x+2 x^2\right )^{3/2}+\frac{239201}{32} \operatorname{Subst}\left (\int \frac{1}{288-x^2} \, dx,x,\frac{17-22 x}{\sqrt{3-x+2 x^2}}\right )+\frac{2551847 \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+\frac{x^2}{23}}} \, dx,x,-1+4 x\right )}{4096 \sqrt{46}}\\ &=-\frac{(1996953-333380 x) \sqrt{3-x+2 x^2}}{18432}-\frac{541}{384} \left (3-x+2 x^2\right )^{3/2}-\frac{3667 \left (3-x+2 x^2\right )^{3/2}}{576 (5+2 x)}+\frac{5}{64} (5+2 x) \left (3-x+2 x^2\right )^{3/2}-\frac{2551847 \sinh ^{-1}\left (\frac{1-4 x}{\sqrt{23}}\right )}{4096 \sqrt{2}}+\frac{239201 \tanh ^{-1}\left (\frac{17-22 x}{12 \sqrt{2} \sqrt{3-x+2 x^2}}\right )}{384 \sqrt{2}}\\ \end{align*}
Mathematica [A] time = 0.163372, size = 98, normalized size = 0.66 \[ \frac{\frac{4 \sqrt{2 x^2-x+3} \left (3840 x^4-17344 x^3+94936 x^2-728410 x-3539439\right )}{2 x+5}+7654432 \sqrt{2} \tanh ^{-1}\left (\frac{17-22 x}{12 \sqrt{4 x^2-2 x+6}}\right )-7655541 \sqrt{2} \sinh ^{-1}\left (\frac{1-4 x}{\sqrt{23}}\right )}{24576} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.059, size = 152, normalized size = 1. \begin{align*}{\frac{5\,x}{32} \left ( 2\,{x}^{2}-x+3 \right ) ^{{\frac{3}{2}}}}-{\frac{391}{384} \left ( 2\,{x}^{2}-x+3 \right ) ^{{\frac{3}{2}}}}+{\frac{-6001+24004\,x}{2048}\sqrt{2\,{x}^{2}-x+3}}+{\frac{2551847\,\sqrt{2}}{8192}{\it Arcsinh} \left ({\frac{4\,\sqrt{23}}{23} \left ( x-{\frac{1}{4}} \right ) } \right ) }-{\frac{239201}{2304}\sqrt{2\, \left ( x+5/2 \right ) ^{2}-11\,x-{\frac{19}{2}}}}+{\frac{239201\,\sqrt{2}}{768}{\it Artanh} \left ({\frac{\sqrt{2}}{12} \left ({\frac{17}{2}}-11\,x \right ){\frac{1}{\sqrt{2\, \left ( x+5/2 \right ) ^{2}-11\,x-{\frac{19}{2}}}}}} \right ) }-{\frac{3667}{1152} \left ( 2\, \left ( x+5/2 \right ) ^{2}-11\,x-{\frac{19}{2}} \right ) ^{{\frac{3}{2}}} \left ( x+{\frac{5}{2}} \right ) ^{-1}}+{\frac{-3667+14668\,x}{2304}\sqrt{2\, \left ( x+5/2 \right ) ^{2}-11\,x-{\frac{19}{2}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.53635, size = 178, normalized size = 1.19 \begin{align*} \frac{5}{32} \,{\left (2 \, x^{2} - x + 3\right )}^{\frac{3}{2}} x - \frac{391}{384} \,{\left (2 \, x^{2} - x + 3\right )}^{\frac{3}{2}} + \frac{6001}{512} \, \sqrt{2 \, x^{2} - x + 3} x + \frac{2551847}{8192} \, \sqrt{2} \operatorname{arsinh}\left (\frac{4}{23} \, \sqrt{23} x - \frac{1}{23} \, \sqrt{23}\right ) - \frac{239201}{768} \, \sqrt{2} \operatorname{arsinh}\left (\frac{22 \, \sqrt{23} x}{23 \,{\left | 2 \, x + 5 \right |}} - \frac{17 \, \sqrt{23}}{23 \,{\left | 2 \, x + 5 \right |}}\right ) - \frac{182769}{2048} \, \sqrt{2 \, x^{2} - x + 3} - \frac{3667 \, \sqrt{2 \, x^{2} - x + 3}}{32 \,{\left (2 \, x + 5\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.41511, size = 431, normalized size = 2.89 \begin{align*} \frac{7655541 \, \sqrt{2}{\left (2 \, x + 5\right )} \log \left (-4 \, \sqrt{2} \sqrt{2 \, x^{2} - x + 3}{\left (4 \, x - 1\right )} - 32 \, x^{2} + 16 \, x - 25\right ) + 7654432 \, \sqrt{2}{\left (2 \, x + 5\right )} \log \left (\frac{24 \, \sqrt{2} \sqrt{2 \, x^{2} - x + 3}{\left (22 \, x - 17\right )} - 1060 \, x^{2} + 1036 \, x - 1153}{4 \, x^{2} + 20 \, x + 25}\right ) + 8 \,{\left (3840 \, x^{4} - 17344 \, x^{3} + 94936 \, x^{2} - 728410 \, x - 3539439\right )} \sqrt{2 \, x^{2} - x + 3}}{49152 \,{\left (2 \, x + 5\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{2 x^{2} - x + 3} \left (5 x^{4} - x^{3} + 3 x^{2} + x + 2\right )}{\left (2 x + 5\right )^{2}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.31159, size = 717, normalized size = 4.81 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]